package com.siki.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.siki.entity.bigdata.Chess;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author Siki
 * @date 2020/12/22
 */
@Mapper
@Repository
public interface ChessMapper extends BaseMapper<Chess> {
    List<Chess> findMoveInBlackWinByInit(@Param("init") String init);

    List<Chess> findMoveInDrawByInit(String init);

    void insertMoveInitIntoBlackWin(Chess chess);
}
